package yueyong.salarymanagement.module.business.salary.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import yueyong.salarymanagement.module.business.salary.domain.entity.VerifyCodeEntity;

import java.util.List;

@Mapper
@Component
public interface VerifyCodeDao extends BaseMapper<VerifyCodeEntity> {
    List<VerifyCodeEntity> getVerifyCodeEntityByMobilePhoneLat5Min(@Param("mobilePhone") long mobilePhone, @Param("startTime") String startTime);

    List<VerifyCodeEntity> getVerifyCodeEntityByMobilePhone(@Param("mobilePhone") long mobilePhone);


}
